
<template>
  <section class="view-title">
    <section class="view-title-word">{{title}}</section>
    <slot name="right"></slot>
  </section>
</template>
<script>
export default {
  props:['title'],
  
}
</script>
<style lang="scss">
@import "../../../../assets/scss/_index.scss";
.view{
  &-title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: px2rem(73);
    // line-height: px2rem(73);
    padding-left: px2rem(32);
    padding-right: px2rem(15);
    &-word{
      font-size: px2rem(24);
      color: #333333;
    }
  }
}
</style>
